package com.qidian.mes.mapper;

import com.qidian.mes.pojo.WorkOrder;

import java.util.List;


public interface WorkOrderMapper {
    List<WorkOrder> list(WorkOrder workOrder);
    List<WorkOrder> selectByAncestors(Long parentId);
    List<WorkOrder> selectByParentId(Long workOrderId);
    WorkOrder selectByWorkOrderId(Long workOrderId);
    int sava(WorkOrder workOrder);
    WorkOrder getByWorkOrderName(String workOrderName);
    int update(WorkOrder workOrder);
    int delete(Long workOrderId);


}
